<%--
  Created by IntelliJ IDEA.
  User: 周筠皓
  Date: 2024/12/15
  Time: 15:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>

    <title>Insert title here</title>
</head>
<body>
<table border="1">
    <th>
    <td>编号</td>
    <td>姓名</td>
    <td>job</td>
    <td>mgr</td>
    <td>hiredate</td>
    <td>sal</td>
    <td>comm</td>
    <td>deptno</td>
    <td>操作</td>
    </th>

    <c:forEach items="${emps}" var="e">
        <tr>
            <td></td>
            <td>${e.getEmpno() }</td>
            <td>${e.getEname() }</td>
            <td>${e.getJob() }</td>
            <td>${e.getMgr() }</td>
            <td>${e.getHiredate() }</td>
            <td>${e.getSal() }</td>
            <td>${e.getComm() }</td>
            <td>${e.getDeptno() }</td>
            <td>
                <a href="delEmp/${e.getEmpno() }">删除</a>
                <a href="findEmp/${e.getEmpno() }">修改</a>
            </td>
        </tr>
    </c:forEach>


</table>

</body>
</html>